ACPT_Lite\Core\Models\Meta\MetaFieldModel B

Total Complexity 89
Dependencies 7
Dependents 32
Total lines 911
Lines of code 487
Logical lines of code 132
Comment lines 239
Methods 51
Properties 17

Methods 51

Method Rating Maintainability Complexity Lines of code
fullHydrateFromArray()
B
39 21 55
validationRules()
A
32 1 168
arrayRepresentation()
S
50 3 30
getOptionLabel()
S
63 4 11
duplicateFrom()
S
56 3 18
jsonSerialize()
S
50 2 27
getChild()
S
67 3 8
addOption()
S
72 2 5
getUiName()
S
68 2 7
getParentField()
S
71 2 6
addChild()
S
72 2 5
getOptionValues()
S
69 2 7
getLabelOrName()
S
72 2 6
setType()
S
70 2 6
changeName()
S
70 2 6
__construct()
S
59 1 14
getParentId()
S
82 1 3
hasParent()
S
80 1 3
getDbName()
S
78 1 3
getNormalizedName()
S
80 1 3
duplicate()
S
80 1 3
getGroup()
S
82 1 3
duplicateFromParent()
S
71 1 6
getValidTypes()
S
81 1 3
getName()
S
82 1 3
getBelongsToLabel()
S
82 1 3
setBelongsToLabel()
S
81 1 3
getFindLabel()
S
82 1 3
setFindLabel()
S
81 1 3
getBox()
S
82 1 3
setParentId()
S
81 1 3
getDefaultValue()
S
82 1 3
getDescription()
S
82 1 3
getSort()
S
82 1 3
getLabel()
S
82 1 3
isShowInArchive()
S
82 1 3
isRequired()
S
82 1 3
isForQuickEdit()
S
82 1 3
setQuickEdit()
S
81 1 3
isFilterableInAdmin()
S
82 1 3
setFilterableInAdmin()
S
81 1 3
removeOption()
S
79 1 3
clearChildren()
S
81 1 3
clearOptions()
S
81 1 3
getOptions()
S
82 1 3
changeBox()
S
81 1 3
getType()
S
82 1 3
hasChildren()
S
80 1 3
changeType()
S
81 1 3
removeChild()
S
79 1 3
getChildren()
S
82 1 3